<?php
session_start();
 
// Suppression des variables de session et de la session
$_SESSION = array();
session_destroy();
 header('Location: ' . $_SERVER['HTTP_REFERER']);
?>